package student.aistar.model.entity;


import java.io.Serializable;

public class Orderdetail implements Serializable {
  private Integer orderProductId;

  private Integer orderId;

  private Integer productId;

  private String name;

  private String picImg;

  private Integer productSpecNumber;

  private String productSpecName;

  private Double price;

  private Integer buyNumber;

  private Double productAmount;

  private Integer commentStatus;

  public Orderdetail() {
  }

  public Orderdetail(Integer orderProductId, Integer orderId, Integer productId, String name, String picImg, Integer productSpecNumber, String productSpecName, Double price, Integer buyNumber, Double productAmount, Integer commentStatus) {
    this.orderProductId = orderProductId;
    this.orderId = orderId;
    this.productId = productId;
    this.name = name;
    this.picImg = picImg;
    this.productSpecNumber = productSpecNumber;
    this.productSpecName = productSpecName;
    this.price = price;
    this.buyNumber = buyNumber;
    this.productAmount = productAmount;
    this.commentStatus = commentStatus;
  }

  public Integer getOrderProductId() {
    return orderProductId;
  }

  public void setOrderProductId(Integer orderProductId) {
    this.orderProductId = orderProductId;
  }

  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPicImg() {
    return picImg;
  }

  public void setPicImg(String picImg) {
    this.picImg = picImg;
  }

  public Integer getProductSpecNumber() {
    return productSpecNumber;
  }

  public void setProductSpecNumber(Integer productSpecNumber) {
    this.productSpecNumber = productSpecNumber;
  }

  public String getProductSpecName() {
    return productSpecName;
  }

  public void setProductSpecName(String productSpecName) {
    this.productSpecName = productSpecName;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  public Integer getBuyNumber() {
    return buyNumber;
  }

  public void setBuyNumber(Integer buyNumber) {
    this.buyNumber = buyNumber;
  }

  public Double getProductAmount() {
    return productAmount;
  }

  public void setProductAmount(Double productAmount) {
    this.productAmount = productAmount;
  }

  public Integer getCommentStatus() {
    return commentStatus;
  }

  public void setCommentStatus(Integer commentStatus) {
    this.commentStatus = commentStatus;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Orderdetail{");
    sb.append("orderProductId=").append(orderProductId);
    sb.append(", orderId=").append(orderId);
    sb.append(", productId=").append(productId);
    sb.append(", name='").append(name).append('\'');
    sb.append(", picImg='").append(picImg).append('\'');
    sb.append(", productSpecNumber=").append(productSpecNumber);
    sb.append(", productSpecName='").append(productSpecName).append('\'');
    sb.append(", price=").append(price);
    sb.append(", buyNumber=").append(buyNumber);
    sb.append(", productAmount=").append(productAmount);
    sb.append(", commentStatus=").append(commentStatus);
    sb.append('}');
    return sb.toString();
  }
}
